[paket]
tanim   = Multimedya altyapısı için sunucu ve kullanıcı alanı için API
paketci = milisarge
grup    = kütüphane
url     = https://pipewire.org/

[gerek]
derleme = cmake meson sdl2 gst-plugins-base sbc libva bluez ncurses fdk-aac libsndfile libldac ffmpeg vulkan-loader libusb avahi pulseaudio lilv 
calisma =

[kaynak]
gz      = https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${surum}
2       = https://gitlab.freedesktop.org/pipewire/media-session/-/archive/0.4.1/media-session-0.4.1.tar.gz

;[sha256]
;1       = 024ec4b2f77e6049ba3acb569250943f736a366a05f4b8fce42e09e678b43039

[derle]
betik   = mv $SRC/media-session-* subprojects/media-session
ekconf  = -Dtests=disabled -Dman=disabled -Dgstreamer=enabled -Ddocs=disabled -Dsystemd=disabled -Dbluez5=enabled -Dffmpeg=enabled -Dpipewire-alsa=enabled -Djack=disabled -Dlibcamera=disabled -Dudevrulesdir=/usr/lib/udev/rules.d -Decho-cancel-webrtc=disabled -Dbluez5-codec-aptx=disabled -Droc=disabled -Dsdl2=enabled -Dvulkan=enabled -Dbluez5-codec-lc3plus=disabled -Dsession-managers=['media-session'] -Dmedia-session:systemd=disabled -Dlibcanberra=disabled
tip     = meson

[pakur]
tip     = meson
betik   = touch $PKG/etc/pipewire/media-session.d/with-alsa
betik   = mkdir -p $PKG/etc/alsa/conf.d
betik   = ln -st $PKG/etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
betik   = ln -st $PKG/etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/50-pipewire.conf

